export default () => {
    return {
        index: true,
        submitText: '修改',
        size: 'default',
        labelWidth: 120,

        menuAlign: 'center',
        menuPosition: "right",
        searchIndex: 2,
        searchMenuSpan: 6,
        searchIcon: true,
        addBtn: true,
        editBtn: false,
        delBtn: true,
        align: "center",

        column: [
            {
                label: 'id',
                span: 12,
                prop: 'id',
                align: "left",
                hide: true,
                display: false,
            },
            {
                label: '审批意见',
                prop: 'commentText',
                span: 24,
                rules: [{
                    required: true,
                    trigger: "blur"
                }]
            },
            {
                width: 120,
                label: '是否默认',
                prop: 'userDefault',
                span: 24,
                type: "radio",
                tag: true,
                tagProp: {
                    "1": {type: "primary"},
                    "0": {type: "info"},
                },
                dicData: [
                    {label: "是", value: 1},
                    {label: "否", value: 0},
                ],
                rules: [{
                    required: true,
                    trigger: "blur"
                }]
            },


        ]
    }
}
